package com.army.stock.service;

import com.army.stock.domain.ArmyDepartment;
import com.javalife.common.domain.page.PaginatedArrayList;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangyong on 14/12/25.
 */
public interface ArmyDepartmentService {

    public PaginatedArrayList getArmyDepartmentPageInfo(int currentPage, int pageSize, Map<String, Object> map);

    public void addArmyDepartment(ArmyDepartment armyDepartment);

    public ArmyDepartment getArmyDepartmentById(Long id);

    public void updateArmyDepartment(ArmyDepartment armyDepartment);

    public Integer delArmyDepartment(Long id);

    public List<ArmyDepartment> getAllArmyDepartments();

    public ArmyDepartment getArmyDepartmentByIdFromCache(Long DepartmentId);

    public ArmyDepartment getArmyDepartmentByParam(ArmyDepartment param);

}
